package com.sca.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sca.auth.dto.response.LoginResponse;
import com.sca.auth.entity.User;

/**
 * @author liuxianfei
 * @since 2020/10/30 10:51
 */
public interface UserService extends IService<User> {

    /**
     * 修改密码
     *
     * @param userId   用户id
     * @param password 新密码
     * @since 0.0.1
     */
    Boolean updatePassword(Integer userId, String password);


    LoginResponse login(String username, String password);

}
